package com.netflix.discovery;

public abstract class DiscoveryEvent implements EurekaEvent {

    // System time when the event happened
    private final long timestamp;

    protected DiscoveryEvent() {
        this.timestamp = System.currentTimeMillis();
    }

    public final long getTimestamp() {
        return this.timestamp;
    }
}
